<%@ page contentType="text/html"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<html>
<head>
<title>JPetStore Demo</title>
<meta content="text/html; charset=windows-1252"	http-equiv="Content-Type" />

<META HTTP-EQUIV="Cache-Control" CONTENT="max-age=0">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta http-equiv="expires" content="0">
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

</head>

<body bgcolor="white">

<table background="../images/bkg-topbar.gif" border="0" cellspacing="0" cellpadding="5" width="100%">
	<tbody>
		<tr>
			<td>
				<s:a href="/shop/index.do">
					<img border="0" src="../images/logo-topbar.gif" />
				</s:a>
			</td>
			
			<td align="right">
				<s:a href="/shop/viewCart.do">
					<img border="0" name="img_cart" src="../images/cart.gif" />
				</s:a>
				<img border="0" src="../images/separator.gif" />
				
				<s:if test="%{empty accountForm.account}">
					<s:a href="/shop/signonForm.do">
						<img border="0"	name="img_signin" src="../images/sign-in.gif" />
					</s:a>
				</s:if>
				
				<s:if test="%{!empty accountForm.account}">
					<s:a href="/shop/signon.do?signoff=true">
						<img border="0" name="img_signout" src="../images/sign-out.gif" />
					</s:a>
					<img border="0" src="../images/separator.gif" />
					<s:a href="/shop/editAccountForm.do">
						<img border="0" name="img_myaccount" src="../images/my_account.gif" />
					</s:a>
				</s:if>
				
				<img border="0" src="../images/separator.gif" />
				<s:a href="../help.html">
					<img border="0" name="img_help" src="../images/help.gif" />
				</s:a>
			</td>
			
			<td align="left" valign="bottom">
				<s:form action="shop/searchProducts.do" method="post">
					<s:hidden name="search" value="true"/>
					<s:textfield name="keyword" size="14"/>&nbsp;
					<s:submit src="../images/search.gif" type="image" name="search"/>
				</s:form>
			</td>
		</tr>
	</tbody>
</table>

<%@ include file="header.jsp"%>